package com.tianxiabuyi.model.pojo;
import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 检验实体类
 * @author yanghx
 *
 */
@Entity
@Table(name = "examine")
public class Examine extends TXBYObject {
	@Column(name = "card_number")@JSONField(name = "card_number")
	private String cardNumber;
	@Column(name = "patient_id")@JSONField(name = "patient_id")
	private String patientId;						// 病人编号（门诊编号）
	@Column(name = "patient_name")@JSONField(name = "patient_name")
	private String patientName;						// 病人姓名
	@Column(name = "sample_no")@JSONField(name = "sample_no")
	private String sampleNo;						// 样本编号
	@Column(name = "parent_item_id")@JSONField(name = "parent_item_id")
	private String parentItemId;					// 检验大项编号
	@Column(name = "parent_item_name")@JSONField(name = "parent_item_name")
	private String parentItemName;					// 检验大项名称
	@Column(name = "item_name")@JSONField(name = "item_name")
	private String itemName;						// 检验小项名称
	@Column(name = "item_unit")@JSONField(name = "item_unit")
	private String itemUnit;						// 检验小项单位
	private String result;							// 检验小项结果
	private String description;						// 检验高低描述(↑↓)
	@Column(name = "low_refer")@JSONField(name = "low_refer")
	private String lowRefer;						// 参考低值		
	@Column(name = "high_refer")@JSONField(name = "high_refer")
	private String highRefer;						// 参考高值
	@Column(name = "refer_desc")@JSONField(name = "refer_desc")
	private String referDesc;						// 参考范围	
	@Column(name = "receive_time")@JSONField(name = "receive_time")
	private String receiveTime;						// 接收时间
	private String branch = "1";                    // 院部编号
	@Column(name="branch_name")@JSONField(name = "branch_name")
	private String branchName = "本部";               // 院部名称
	
	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getSampleNo() {
		return sampleNo;
	}

	public void setSampleNo(String sampleNo) {
		this.sampleNo = sampleNo;
	}

	public String getParentItemId() {
		return parentItemId;
	}

	public void setParentItemId(String parentItemId) {
		this.parentItemId = parentItemId;
	}

	public String getParentItemName() {
		return parentItemName;
	}

	public void setParentItemName(String parentItemName) {
		this.parentItemName = parentItemName;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemUnit() {
		return itemUnit;
	}

	public void setItemUnit(String itemUnit) {
		this.itemUnit = itemUnit;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLowRefer() {
		return lowRefer;
	}

	public void setLowRefer(String lowRefer) {
		this.lowRefer = lowRefer;
	}

	public String getHighRefer() {
		return highRefer;
	}

	public void setHighRefer(String highRefer) {
		this.highRefer = highRefer;
	}

	public String getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(String receiveTime) {
		this.receiveTime = receiveTime;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getReferDesc() {
		return referDesc;
	}

	public void setReferDesc(String referDesc) {
		this.referDesc = referDesc;
	}
}
